#include <sel.h>

//lima sekawan
sel::sel(){
	cout << "ctor of sel"<< endl;
}
sel::sel(point x){
	location = x;
	content = defaultcontent;
}
sel::sel(point x, char y){
	location = x;
	content = y;
}
sel::sel(const point& x){
	location = *x;
	content = defaultcontent;
}
virtual sel::~sel(){
	cout << "dtor of sel"<< endl;

}
sel::sel& operator= (const sel& z){
	location = z.location;
	content = z.content;
}

//Input/Output
friend sel::stream& operator<< (stream&, const point&){
}
friend sel::stream& operator>> (stream&, const point&){
}

//setter getter
void sel::setLocation (point x){
	location = x;
}
void sel::setContent (char y){
	content = y;
}

point sel::getLocation() const{
	return x;
}
char sel::getContent() const{
	return y;
}

static const char defaultcontent = ' ';
static const char defaultlocation = point(0,0);
point location;
char content;

